package cn.jetpiece.cloud.joss.sdk.core.exception;

/**
 * @author XuJZ
 * @date 2021/1/20
 */
public enum OssExceptionEnum {

    /**
     * 访问OSS失败
     */
    ACCESS_OSS_ERROR(101017, "访问OSS失败！");

    OssExceptionEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private int code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
